package com.youko.backstage.bean.commodity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.sql.rowset.spi.SyncResolver;
import java.io.Serializable;

/**
 * @author: youko
 * @classname: CommoditySku
 * @Description: 商品具体类实体类（确定了具体规格的商品）
 * @date: 2022/7/5 9:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommoditySku implements Serializable {
    private static final long serialVersionUID = -9210458635812760186L;


    /**
     *Sku商品id
     */
    private int id;

    /**
     * Sku商品名称
     */
    private String skuName;

    /**
     * Sku商品price
     */
    private float price;

    /**
     * Sku商品库存
     */
    private int stock;

    /**
     * Sku商品销量
     */
    private int sale;

    /**
     * Sku商品店铺id
     */
    private int shopId;

    /**
     * Sku商品对应SpuId
     */
    private int spuId;


}
